package com.xiaomo.gitee.datamanager.mapper;
import com.xiaomo.gitee.datamanager.cache.MybatisRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;
import java.util.List;

import com.xiaomo.gitee.datamanager.entity.CClassInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class,eviction = MybatisRedisCache.class)
public interface CClassInfoMapper extends BaseMapper<CClassInfo> {

    List<CClassInfo> selectAll();

    CClassInfo selectOneById(@Param("id") Long id);

    List<CClassInfo> selectByPClassId(@Param("pClassId") Long pClassId);

    int deleteById(@Param("id") Long id);

}




